package com.fastcms.cms.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fastcms.cms.entity.Quesstion;
import com.fastcms.common.exception.FastcmsException;

/**
 * 提问服务类
 * @author wjun_java@163.com
 * @since 2021-05-23
 */
public interface IQuesstionService extends IService<Quesstion> {

	
	
	Page<Quesstion> pageQuesstion(Page pageParam, QueryWrapper queryWrapper);


	/**
	 * 保存提问
	 * @param categoryId
	 * @param content
	 * @param mobile
	 * @param areaCode
	 * @throws FastcmsException
	 */
	void saveQuesstion(String categoryId, String content,String mobile,String areaCode) throws FastcmsException;



}
